server {
    listen 80;

    client_max_body_size 25M;
    location / {
        root /var/www/build;
        try_files $uri /index.html;
    }

    location ~ \/(api|static_back|media_back|admin) {
        proxy_pass http://backend:8000;
        proxy_set_header Host $http_host;
        proxy_redirect off;
    }


}

